package view;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class AdminFrame extends Application {
    public static Stage stage;
    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public  void start(Stage primaryStage) throws Exception {
        Parent root = FXMLLoader.load(getClass().getResource("adminFrame.fxml"));
        primaryStage.setTitle("管家婆");
        primaryStage.setScene(new Scene(root, 1036, 677));
        primaryStage.show();
        this.stage=primaryStage;
    }
}
